package com.ruoyi.paper.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试卷业务对象 exam_paper
 *
 * @author fjw
 * @date 2024-04-16
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ExamPaperBo extends BaseEntity {
    /**
     * 主键
     */
    private Long id;

    /**
     * 文件
     */
    @NotBlank(message = "文件不能为空", groups = { AddGroup.class, EditGroup.class })
    private String file;
    /**
     * 用户ID
     */
    private Long userId;
}
